﻿<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %>
<%@ Register TagPrefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls"
    Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormSection" Src="~/_controltemplates/InputFormSection.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormControl" Src="~/_controltemplates/InputFormControl.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="ButtonSection" Src="~/_controltemplates/ButtonSection.ascx" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CreateDatabase.aspx.cs"
    Inherits="SPThumbnailExtender.Layouts.SPThumbnailExtender.CreateDatabase" MasterPageFile="~/_admin/admin.master" %>

<asp:Content ID="PageHead" ContentPlaceHolderID="PlaceHolderAdditionalPageHead" runat="server">
</asp:Content>
<asp:Content ID="Main" ContentPlaceHolderID="PlaceHolderMain" runat="server">
    <table class="ms-propertysheet" border="0" width="100%" cellspacing="0" cellpadding="0">
        <wssuc:inputformsection title="Connection string" description="Create or recreate the Cache DataBase "
            runat="server">
            <template_inputformcontrols>
                <wssuc:InputFormControl LabelText="Connection String of the DataBase Cache" LabelAssociatedControlID="txtConnectionString" runat="server">
        <Template_Control>
                        <SharePoint:InputFormTextBox Title="Connection String of the DataBase Cache" 
                    class="ms-input" 
                    ID="txtConnectionString" 
                    Runat="server" 
                    MaxLength="255"  />
                    </Template_Control>
           
           </wssuc:InputFormControl>
           </template_inputformcontrols>
        </wssuc:inputformsection>
        <wssuc:buttonsection runat="server" showstandardcancelbutton="false">
            <template_buttons>
				    <asp:Button UseSubmitBehavior="false" runat="server" class="ms-ButtonHeightWidth" OnClick="btnResetCnxStr_Click" Text="Reset Connection string" id="btnResetCnxStr"/>
				    <asp:Button UseSubmitBehavior="false" runat="server" class="ms-ButtonHeightWidth" OnClick="btnGenerate_Click" Text="Generate Database" id="btnGenerate"/>
				    <asp:Button UseSubmitBehavior="false" runat="server" class="ms-ButtonHeightWidth" OnClick="btnReset_Click" Text="Clear Database" id="btnReset" CausesValidation="true"/>
			    </template_buttons>
        </wssuc:buttonsection>
    </table>
</asp:Content>
<asp:Content ID="PageTitle" ContentPlaceHolderID="PlaceHolderPageTitle" runat="server">
    Thumbnail Extender Cache DataBase
</asp:Content>
<asp:Content ID="PageTitleInTitleArea" ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea"
    runat="server">
Thumbnail Extender Cache DataBase
</asp:Content>
